package cn.baiweigang.uu.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

import java.util.List;

@Builder
@AllArgsConstructor
@Data
public class TpslResponse {
    private String status;
    private Long ts;
    private Integer err_code;
    private String err_mag;
    private List<TpslResponse.DateBean> data;

    @Builder
    @AllArgsConstructor
    @Data
    public static class DateBean {
        private List<TpslResponse.DateBean.tpOrderBean> tp_order;
        private List<TpslResponse.DateBean.slOrderBean> sl_order;

        @Builder
        @AllArgsConstructor
        @Data
        public static class tpOrderBean{
            private Long order_id;
            private String order_id_str;
        }

        @Builder
        @AllArgsConstructor
        @Data
        public static class slOrderBean{
            private Long order_id;
            private String order_id_str;
        }
    }
}


